← Index
NYTProf Performance Profile   
For /usr/share/koha/opac/cgi-bin/opac/opac-search.pl
  Run on Tue Oct 15 11:58:52 2013
Reported on Tue Oct 15 12:02:29 2013

Filename(eval 1118)[/usr/share/perl/5.10/CGI.pm:869]
StatementsExecuted 16 statements in 70µs
Eval Invoked At/usr/share/perl/5.10/CGI.pm line 869
Sibling evals1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
42264µs154µsCGI::::httpCGI::http
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1
# spent 154µs (64+91) within CGI::http which was called 4 times, avg 39µs/call: # 3 times (42µs+60µs) by CGI::url at line 25 of (eval 1109)[CGI.pm:869], avg 34µs/call # once (22µs+31µs) by CGI::url at line 832 of CGI.pm
package CGI; sub http {
2415µs485µs my ($self,$parameter) = self_or_CGI(@_);
# spent 85µs making 4 calls to CGI::self_or_CGI, avg 21µs/call
3421µs46µs return $ENV{$parameter} if $parameter=~/^HTTP/;
# spent 6µs making 4 calls to CGI::CORE:match, avg 1µs/call
445µs $parameter =~ tr/-/_/;
5429µs return $ENV{"HTTP_\U$parameter\E"} if $parameter;
6 my(@p);
7 for (keys %ENV) {
8 push(@p,$_) if /^HTTP/;
9 }
10 return @p;
11}
12
13;